package edoc.entity;

import java.sql.Timestamp;

/**
 * EdocEntry entity. @author MyEclipse Persistence Tools
 */

public class EdocEntry implements java.io.Serializable {

	// Fields

	private Long id;
	private EdocCategory edocCategory;
	private String title;
	private String summary;
	private String uploaduser;
	private Timestamp createdate;

	// Constructors

	/** default constructor */
	public EdocEntry() {
	}

	/** minimal constructor */
	public EdocEntry(EdocCategory edocCategory, String title,
			Timestamp createdate) {
		this.edocCategory = edocCategory;
		this.title = title;
		this.createdate = createdate;
	}

	/** full constructor */
	public EdocEntry(EdocCategory edocCategory, String title, String summary,
			String uploaduser, Timestamp createdate) {
		this.edocCategory = edocCategory;
		this.title = title;
		this.summary = summary;
		this.uploaduser = uploaduser;
		this.createdate = createdate;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public EdocCategory getEdocCategory() {
		return this.edocCategory;
	}

	public void setEdocCategory(EdocCategory edocCategory) {
		this.edocCategory = edocCategory;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getSummary() {
		return this.summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public String getUploaduser() {
		return this.uploaduser;
	}

	public void setUploaduser(String uploaduser) {
		this.uploaduser = uploaduser;
	}

	public Timestamp getCreatedate() {
		return this.createdate;
	}

	public void setCreatedate(Timestamp createdate) {
		this.createdate = createdate;
	}

}